<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	request.setCharacterEncoding("UTF-8");
	String cp = request.getContextPath();
	String name = (String) session.getAttribute("name");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Untitled Document</title>
<style type="text/css">
* {
	padding: 0px;
	margin: 0px auto;
}

#container {
	background-color: #666;
	width: 900px;
	z-index: 1;
}

#header {
	background-color: #F00;
	width: 900px;
	height: 100px;
	z-index: 2;
	position: relative;
}

#menu {
	background-color: #FF0;
	width: 900px;
	height: 50px;
	z-index: 2;
	position: relative;
}

#footer {
	width: 900px;
	z-index: 1;
	background-color: #F0F;
	height: 80px;
	float: left;
}

#content {
	z-index: 2;
	float: right;
	width: 700px;
	background-color: #0F0;
}

#side_bar {
	z-index: 2;
	float: left;
	width: 200px;
	background-color: #00F;
}

#login {
	width: 200px;
	height: 70px;
}
</style>
<script type="text/javascript">
	function login() {
		var f = document.login;
		f.action = "";
		f.submit();
	}

	function register() {
		var f = document.login;
		f.action = "";
		f.submit();
	}
</script>
</head>
<body>
	<div id="container">
		<div id="header">header</div>
		<div id="menu">회사소개 게시판 찾아오는길</div>
		<div id="side_bar">
			<div id="login">
				<form name="login" method="post">
					<input type="text" name="id" value="아이디"
						onfocus="login.id.value=''" /> <br /> <input type="password"
						name="pw" value="패스워드" onfocus="login.id.value=''" /> <br /> <input
						type="button" value="로그인" onclick="login();" /> <input
						type="button" value="회원가입" onclick="register();" />
				</form>
			</div>
		</div>
		<div id="content">content</div>
		<div id="footer">footer</div>
	</div>
</body>
</html>
